package com.ra.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * Author : 今晚几点睡_Ada
 * Date: 2023/3/16
 * Time: 15:01
 * 注:
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "标签对象")
public class TagDTO {

    @ApiModelProperty(name = "id", value = "标签id", dataType = "Integer")
    private Integer id;

    @NotBlank(message = "标签名不能为空")
    @ApiModelProperty(name = "categoryName", value = "标签名", required = true, dataType = "String")
    private String tagName;
}
